package com.war.service.system;

import com.war.pojo.system.Supplier;
import com.war.pojo.system.Warehouse;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

@Service
public interface SupplierService {
    public HashMap<String,Object> selectAll();
    public List<Supplier> selectName();

    //按条件查询仓库
    HashMap<String, Object> select(Supplier supplier);

    //删除仓库
    String delSup(Supplier supplier);

    //查找
    Supplier selectByid(Supplier supplier);

    //添加
    String addSup(Supplier supplier);

    //修改用户信息
    String editSup(Supplier supplier);

}
